package com.zfzs.post.modules.transaction.service.mybatis;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zfzs.post.modules.transaction.domain.BenefitDay;
import com.zfzs.post.modules.transaction.service.dto.BenefitDay4MineDTO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author wq
 * @date 2019/10/28 10:29
 * @description
 */
public interface IbatisBenefitDayService extends IService<BenefitDay> {


    List<BenefitDay4MineDTO> findMineDetail(Long agentId, Integer isSelf, String startDate, String endDate,  Integer start, Integer pageSize);

    BigDecimal findTeamBenefitByAgentId( Long agentId,String month);

    BigDecimal findSelfBenefitByAgentId(Long agentId, String month);
}
